home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Ebooks / Thinking in C++ V2 / C17 / Microsoft.makefile < prev    next >
Encoding:
Makefile  |  2000-05-25  |  4.7 KB  |  192 lines

  1. # From Thinking in C++, 2nd Edition
  2. # At http://www.BruceEckel.com
  3. # (c) Bruce Eckel 1999
  4. # Copyright notice in Copyright.txt
  5. # Automatically-generated MAKEFILE 
  6. # For examples in directory C17
  7. # using the Microsoft compiler
  8. # Note: does not make files that will 
  9. # not compile with this compiler
  10. # Invoke with: make -f Microsoft.makefile
  11.  
  12. # Note: this requires the service Pack 3 from
  13. # www.Microsoft.com for successful compilation!
  14. CPP = cl
  15. CPPFLAGS = -GX -GR
  16. OFLAG = -o
  17. .SUFFIXES : .obj .cpp .c
  18. .cpp.obj :
  19.     $(CPP) $(CPPFLAGS) -c $<
  20. .c.obj :
  21.     $(CPP) $(CPPFLAGS) -c $<
  22.  
  23. all: \
  24.     StringStorage.exe \
  25.     SmallString.exe \
  26.     SmallString2.exe \
  27.     StringIterators.exe \
  28.     UhOh.exe \
  29.     StrSize.exe \
  30.     StringReplace.exe \
  31.     Replace.exe \
  32.     ReplaceAndGrow.exe \
  33.     StringCharReplace.exe \
  34.     AddStrings.exe \
  35.     Sieve.exe \
  36.     Find.exe \
  37.     NewFind.exe \
  38.     Rparse.exe \
  39.     TrimTest.exe \
  40.     ReprocessHTML.exe \
  41.     HTMLStripper.exe \
  42.     CompStr.exe \
  43.     Compare.exe \
  44.     Compare2.exe \
  45.     StringIndexing.exe \
  46.     BadStringIndexing.exe \
  47.     CmpIter.exe \
  48.     RevStr.exe \
  49.     SiteMapConvert.exe 
  50.  
  51. test: all 
  52.     StringStorage.exe  
  53.     SmallString.exe  
  54.     SmallString2.exe  
  55.     StringIterators.exe  
  56.     UhOh.exe  
  57.     StrSize.exe  
  58.     StringReplace.exe  
  59.     Replace.exe  
  60.     ReplaceAndGrow.exe  
  61.     StringCharReplace.exe  
  62.     AddStrings.exe  
  63.     Sieve.exe  
  64.     Find.exe  
  65.     NewFind.exe  
  66.     Rparse.exe  
  67.     TrimTest.exe  
  68.     ReprocessHTML.exe  
  69.     HTMLStripper.exe  
  70.     CompStr.exe  
  71.     Compare.exe  
  72.     Compare2.exe  
  73.     StringIndexing.exe  
  74.     BadStringIndexing.exe  
  75.     CmpIter.exe  
  76.     RevStr.exe  
  77.     SiteMapConvert.exe  
  78.  
  79. bugs: \
  80.     ICompare.exe 
  81.  
  82. StringStorage.exe: StringStorage.obj 
  83.     $(CPP) $(OFLAG)StringStorage.exe StringStorage.obj 
  84.  
  85. SmallString.exe: SmallString.obj 
  86.     $(CPP) $(OFLAG)SmallString.exe SmallString.obj 
  87.  
  88. SmallString2.exe: SmallString2.obj 
  89.     $(CPP) $(OFLAG)SmallString2.exe SmallString2.obj 
  90.  
  91. StringIterators.exe: StringIterators.obj 
  92.     $(CPP) $(OFLAG)StringIterators.exe StringIterators.obj 
  93.  
  94. UhOh.exe: UhOh.obj 
  95.     $(CPP) $(OFLAG)UhOh.exe UhOh.obj 
  96.  
  97. StrSize.exe: StrSize.obj 
  98.     $(CPP) $(OFLAG)StrSize.exe StrSize.obj 
  99.  
  100. StringReplace.exe: StringReplace.obj 
  101.     $(CPP) $(OFLAG)StringReplace.exe StringReplace.obj 
  102.  
  103. Replace.exe: Replace.obj 
  104.     $(CPP) $(OFLAG)Replace.exe Replace.obj 
  105.  
  106. ReplaceAndGrow.exe: ReplaceAndGrow.obj 
  107.     $(CPP) $(OFLAG)ReplaceAndGrow.exe ReplaceAndGrow.obj 
  108.  
  109. StringCharReplace.exe: StringCharReplace.obj 
  110.     $(CPP) $(OFLAG)StringCharReplace.exe StringCharReplace.obj 
  111.  
  112. AddStrings.exe: AddStrings.obj 
  113.     $(CPP) $(OFLAG)AddStrings.exe AddStrings.obj 
  114.  
  115. Sieve.exe: Sieve.obj 
  116.     $(CPP) $(OFLAG)Sieve.exe Sieve.obj 
  117.  
  118. Find.exe: Find.obj 
  119.     $(CPP) $(OFLAG)Find.exe Find.obj 
  120.  
  121. NewFind.exe: NewFind.obj 
  122.     $(CPP) $(OFLAG)NewFind.exe NewFind.obj 
  123.  
  124. Rparse.exe: Rparse.obj 
  125.     $(CPP) $(OFLAG)Rparse.exe Rparse.obj 
  126.  
  127. TrimTest.exe: TrimTest.obj 
  128.     $(CPP) $(OFLAG)TrimTest.exe TrimTest.obj 
  129.  
  130. ReprocessHTML.exe: ReprocessHTML.obj 
  131.     $(CPP) $(OFLAG)ReprocessHTML.exe ReprocessHTML.obj 
  132.  
  133. HTMLStripper.exe: HTMLStripper.obj 
  134.     $(CPP) $(OFLAG)HTMLStripper.exe HTMLStripper.obj 
  135.  
  136. CompStr.exe: CompStr.obj 
  137.     $(CPP) $(OFLAG)CompStr.exe CompStr.obj 
  138.  
  139. Compare.exe: Compare.obj 
  140.     $(CPP) $(OFLAG)Compare.exe Compare.obj 
  141.  
  142. Compare2.exe: Compare2.obj 
  143.     $(CPP) $(OFLAG)Compare2.exe Compare2.obj 
  144.  
  145. StringIndexing.exe: StringIndexing.obj 
  146.     $(CPP) $(OFLAG)StringIndexing.exe StringIndexing.obj 
  147.  
  148. BadStringIndexing.exe: BadStringIndexing.obj 
  149.     $(CPP) $(OFLAG)BadStringIndexing.exe BadStringIndexing.obj 
  150.  
  151. CmpIter.exe: CmpIter.obj 
  152.     $(CPP) $(OFLAG)CmpIter.exe CmpIter.obj 
  153.  
  154. RevStr.exe: RevStr.obj 
  155.     $(CPP) $(OFLAG)RevStr.exe RevStr.obj 
  156.  
  157. ICompare.exe: ICompare.obj 
  158.     $(CPP) $(OFLAG)ICompare.exe ICompare.obj 
  159.  
  160. SiteMapConvert.exe: SiteMapConvert.obj 
  161.     $(CPP) $(OFLAG)SiteMapConvert.exe SiteMapConvert.obj 
  162.  
  163.  
  164. StringStorage.obj: StringStorage.cpp 
  165. SmallString.obj: SmallString.cpp 
  166. SmallString2.obj: SmallString2.cpp 
  167. StringIterators.obj: StringIterators.cpp 
  168. UhOh.obj: UhOh.cpp 
  169. StrSize.obj: StrSize.cpp 
  170. StringReplace.obj: StringReplace.cpp 
  171. Replace.obj: Replace.cpp 
  172. ReplaceAndGrow.obj: ReplaceAndGrow.cpp 
  173. StringCharReplace.obj: StringCharReplace.cpp 
  174. AddStrings.obj: AddStrings.cpp 
  175. Sieve.obj: Sieve.cpp 
  176. Find.obj: Find.cpp 
  177. NewFind.obj: NewFind.cpp 
  178. Rparse.obj: Rparse.cpp 
  179. TrimTest.obj: TrimTest.cpp trim.h 
  180. ReprocessHTML.obj: ReprocessHTML.cpp ..\require.h 
  181. HTMLStripper.obj: HTMLStripper.cpp ..\require.h 
  182. CompStr.obj: CompStr.cpp 
  183. Compare.obj: Compare.cpp 
  184. Compare2.obj: Compare2.cpp 
  185. StringIndexing.obj: StringIndexing.cpp 
  186. BadStringIndexing.obj: BadStringIndexing.cpp 
  187. CmpIter.obj: CmpIter.cpp 
  188. RevStr.obj: RevStr.cpp 
  189. ICompare.obj: ICompare.cpp ichar_traits.h 
  190. SiteMapConvert.obj: SiteMapConvert.cpp ..\require.h 
  191.  
  192.